﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Banner.Master" CodeBehind="ShareIdeas.aspx.vb" Inherits="ETeacherforIELTS.ShareIdeas" 
    title="Untitled Page" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="style.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="bgStyle">
        <tr>
           <td class ="sides">
                &nbsp;</td>
            <td>
                &nbsp;
                <%--<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>  
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pHeader" runat="server"  CssClass="cpHeader">
                <asp:Label ID="lblText" runat="server" />
            </asp:Panel>
 
            <asp:Panel ID="pBody" runat="server"  CssClass="cpBody">
            Lorem ipsum dolor sit amet, consectetur adipisicing elit,
            sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
            </asp:Panel>
 
<asp:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="pBody" CollapseControlID="pHeader" ExpandControlID="pHeader"
Collapsed="true" TextLabelID="lblText" CollapsedText="Click to add New Discussion.." ExpandedText="Click to Hide Content.."
CollapsedSize="3">
            </asp:CollapsiblePanelExtender>
           </ContentTemplate>
        </asp:UpdatePanel>--%>
        </td>
            
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    DataKeyNames="ID" DataSourceID="DiscussionSharing">
                    <Columns>
                        <asp:BoundField DataField="DiscussionName" HeaderText="DiscussionName" HeaderStyle-CssClass ="TitleStyle"
                            SortExpression="DiscussionName" ItemStyle-CssClass ="databoundStyle " />
                        <asp:HyperLinkField DataNavigateUrlFields="ID" 
                            DataNavigateUrlFormatString="shareDiscussionRepeater.aspx?ID={0}" 
                            Text="View Discussion" ItemStyle-CssClass ="TitleStyle" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="DiscussionSharing" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
                    SelectCommand="SELECT [ID], [DiscussionName] FROM [DiscussionShareMain]">
                </asp:SqlDataSource>
                <table class="style19">
                    <tr>
                        <td class ="TitleStyle">
                            Title </td>
                        <td>
                            <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td valign = "top" class ="TitleStyle">
                            Body </td>
                        <td>
                            <asp:TextBox ID="txtBody" runat="server" Height="129px" TextMode="MultiLine" 
                                Width="211px"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td valign = "top" class ="TitleStyle">
                            &nbsp;</td>
                        <td>
                            <asp:Button ID="Button1" runat="server" Text="Submit" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
            <td class ="sides">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
